home *** CD-ROM | disk | FTP | other *** search
- Path: www.gnofn.org!not-for-mail
- From: clm01@www.gnofn.org (Christopher L Mayeux)
- Newsgroups: comp.lang.c
- Subject: Re: What is '?' in C mean....?????
- Date: 4 Jan 1996 21:19:07 -0600
- Organization: Greater New Orleans Free-Net
- Message-ID: <4ci5bb$8m4@www.gnofn.org>
- References: <4cgsa8$bm2@wumpus.cc.uow.edu.au> <fcusack-0401961115540001@mudskipper.cac.psu.edu>
- NNTP-Posting-Host: www.gnofn.org
- X-Newsreader: TIN [version 1.2 PL2]
-
- frank. (fcusack@tdx.org) wrote:
- : > Could anyone here explain to me what is "?" means and what the purpose
- : of using
- :
- : ? : is C's ternary operator. if the condition is met, perform the
- : operation after the ?; if the condition is not met, perform the operation
- : after the :
- :
-
- What new perversion of C is that ???
-
- I've been programming in standard C for 12 years, and
- never saw THAT in the manuals.
- --
- ------------------------------------------------------------------------------
- C.L. Mayeux - Owner, MSB Video <clm01@gnofn.org> - Affordable consumer videos.
-